{
  "generic": {
    "type": "gun_handheld",
    "disableMirroring": true
  },
  "gun": {
    "handHeld": true,
    "isSemiAuto": true,
    "capacity": 10,
    "reloadTime": 47,
    "muzzleVelocity": 1700,
    "fireDelay": 24.0,
    "diameter": 7.62,
	"minCaseLength": 51.2,
	"maxCaseLength": 51.2,
    "yawSpeed": 7.5,
    "pitchSpeed": 7.5,
    "handHeldNormalOffset": [0.0,-0.0625,0.625],
    "handHeldAimedOffset": [0.3125,0.0,0.5]
  },
  "definitions": [
    {
      "subName": "_forest",
      "name": "DKZ SR-96 Forest Pine",
      "extraMaterials": ["oredict:dyeGreen:2"],
	  "modelName": "dkz_l96_pine",
	  "textureName": "dkz_sr96_pine_forest"
    },
	{
      "subName": "_desert",
      "name": "DKZ SR-96 Desert Pine",
      "extraMaterials": ["oredict:dyeYellow:1", "oredict:dyeWhite:1"],
	  "modelName": "dkz_l96_pine",
	  "textureName": "dkz_sr96_pine_desert"
    },
	{
      "subName": "_black",
      "name": "DKZ SR-96 Black Pine",
      "extraMaterials": ["oredict:dyeBlack:1"],
	  "modelName": "dkz_l96_pine",
	  "textureName": "dkz_sr96_pine_black"
    }
  ],
  "rendering": {
    "animatedObjects": [
      {
        "objectName": "gun",
        "animations": [
          {
            "animationType": "rotation",
            "variable": "gun_fired",
            "centerPoint": [0.0,0.2,-0.6],
            "axis": [-10.0,0.0,0.0],
            "duration": 1
          },
          {
            "animationType": "translation",
            "variable": "gun_fired",
            "axis": [0.0,0.0,-0.3],
            "duration": 1
          },
          {
            "animationType": "inhibitor",
            "variable": "gun_reload",
            "clampMin": 1.0,
            "clampMax": 1.0
          },
          {
            "animationType": "translation",
            "variable": "gun_cooldown",
            "axis": [0.0,0.0,-0.05],
            "duration": 1,
            "forwardsDelay": 15,
            "skipReverseMovement": true
          },
          {
            "animationType": "translation",
            "variable": "gun_cooldown",
            "axis": [0.0,0.0,0.05],
            "duration": 1,
            "forwardsDelay": 20,
            "skipReverseMovement": true
          }
        ]
      },
	  {
        "objectName": "chamber",
		"applyAfter": "gun",
		"animations": []
	  },
      {
        "objectName": "bolt",
        "animations": [
          {
            "animationType": "rotation",
            "variable": "gun_fired",
            "centerPoint": [0.0,0.2,-0.6],
            "axis": [-10.0,0.0,0.0],
            "duration": 1
          },
          {
            "animationType": "translation",
            "variable": "gun_fired",
            "axis": [0.0,0.0,-0.2],
            "duration": 1
          },
          {
            "animationType": "inhibitor",
            "variable": "gun_reload",
            "clampMin": 1.0,
            "clampMax": 1.0
          },
          {
            "animationType": "translation",
            "variable": "gun_cooldown",
            "axis": [0.0,0.0,-0.2],
            "duration": 4,
            "forwardsDelay": 12,
            "skipReverseMovement": true
          },
          {
            "animationType": "rotation",
            "variable": "gun_cooldown",
            "centerPoint": [0.0,0.196875,0.14375],
            "axis": [0.0,0.0,-22.5],
            "duration": 3,
            "forwardsDelay": 7,
            "skipReverseMovement": true
          },
          {
            "animationType": "translation",
            "variable": "gun_cooldown",
            "axis": [0.0,0.0,0.2],
            "duration": 4,
            "forwardsDelay": 17,
            "skipReverseMovement": true
          },
          {
            "animationType": "rotation",
            "variable": "gun_cooldown",
            "centerPoint": [0.0,0.196875,0.14375],
            "axis": [0.0,0.0,22.5],
            "duration": 3,
            "forwardsDelay": 21,
            "skipReverseMovement": true
          },
          {
            "animationType": "activator",
            "variable": "gun_reload",
            "clampMin": 1.0,
            "clampMax": 1.0
          },
          {
            "animationType": "translation",
            "variable": "gun_reload",
            "axis": [0.0,0.0,-0.2],
            "duration": 4,
            "forwardsDelay": 17,
            "skipReverseMovement": true
          },
          {
            "animationType": "rotation",
            "variable": "gun_reload",
            "centerPoint": [0.0,0.196875,0.14375],
            "axis": [0.0,0.0,-22.5],
            "duration": 3,
            "forwardsDelay": 7,
            "skipReverseMovement": true
          },
          {
            "animationType": "translation",
            "variable": "gun_reload",
            "axis": [0.0,0.0,0.2],
            "duration": 4,
            "forwardsDelay": 40,
            "skipReverseMovement": true
          },
          {
            "animationType": "rotation",
            "variable": "gun_reload",
            "centerPoint": [0.0,0.196875,0.14375],
            "axis": [0.0,0.0,22.5],
            "duration": 3,
            "forwardsDelay": 44,
            "skipReverseMovement": true
          }
        ]
      },
      {
        "objectName": "shelleject",
        "animations": [
          {
            "animationType": "visibility",
            "variable": "gun_reload"
          },
          {
            "animationType": "translation",
            "variable": "gun_cooldown",
            "axis": [-1.5,0.3,0.0],
            "duration": 10,
            "forwardsDelay": 12,
            "skipReverseMovement": true
          },
          {
            "animationType": "rotation",
            "variable": "gun_cooldown",
            "centerPoint": [-0.009863,0.203465,0.213776],
            "axis": [-360.0,-360.0,0.0],
            "duration": 10,
            "forwardsDelay": 12,
            "skipReverseMovement": true
          }
        ]
      },
      {
        "objectName": "#&translucentflash",
        "animations": [
          {
            "animationType": "visibility",
            "variable": "gun_fired",
            "clampMin": 1.0,
            "clampMax": 1.0
          }
        ]
      }
    ],
    "sounds": [
	  {
		"name": "dkzpartspack:dkz_l96_firing",
		"activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "gun_fired",
            "clampMin": 1.0,
            "clampMax": 1.0
          }
        ]
      }
	],
    "lightObjects": [
      {
        "objectName": "#&translucentflash",
        "color": "#FFCC00",
        "brightnessAnimations": [
          {
            "animationType": "visibility",
            "variable": "gun_fired",
            "clampMin": 1.0,
            "clampMax": 1.0
          }
		]
      }
    ],
    "particles": []
  },
  "general": {
    "name": "DKZ SR-96 Pine",
    "materials": ["minecraft:iron_ingot:-1:6"]
  }
}